package com.fulihui.wgj.facade.request.user;

import com.fulihui.common.request.rpc.AbstractServiceRequest;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 修改密码请求
 *
 * @author wang_wx
 * @date 2018-06-14
 */
@Getter
@Setter
public class UserLoginPasswordRequest extends AbstractServiceRequest {

    /**
     * 登录账号
     */
    @NotBlank(message = "登陆账号不能为空")
    private String loginId;

    /**
     * 旧密码
     */
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
